using System;
using System.Linq.Expressions;

namespace Magiq.Update {
  public interface IUpdate<T> {
    IUpdate<T> Set<R>(Expression<Func<T, R>> property, R value);
    IUpdate<T> Set<R>(Expression<Func<T, R>> property, Expression<Func<T, R>> value);
    int Update();
  }
}